<template>
  <div>
    <h1>{{title}}--count:{{count}}</h1>
    <button @click="changeCount">改变值</button>
  </div>
</template>
<script>
import count from '@/mixins/count'
export default {
  name: 'One',
  data() {
    return {
      title:"One"
    };
  },
  mixins:[count],
  mounted(){
    console.log("One");
  }
}
</script>

<style scoped>

</style>
